package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 小盒表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BoxSkus对象", description="小盒表")
public class BoxSkus implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "封面")
    private String thumb;

    @ApiModelProperty(value = "款式id")
    private Integer boxId;

    @ApiModelProperty(value = "0为普通款  1为隐藏款")
    private Integer type;

    @ApiModelProperty(value = "中奖概率")
    private Integer probability;

    @ApiModelProperty(value = "前多少次必不中")
    private Integer hiddenBeforeTimes;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "列表权重")
    private Integer listWeight;

    @ApiModelProperty(value = "返售次数")
    private Integer returnCount;

    @ApiModelProperty(value = "1为正常 0为下架")
    private Integer status;

    @ApiModelProperty(value = "兑换的次数统计")
    private Integer chipCoverCount;

    @ApiModelProperty(value = "可以兑换的碎片数")
    private Integer chipTotal;

    @ApiModelProperty(value = "需要集齐的sku数")
    private Integer chipNeedSkuTotal;

    @ApiModelProperty(value = "可以兑换的碎片的id")
    private Integer chipId;

    @ApiModelProperty(value = "是否开启兑换碎片 1为开启，0为不开启")
    private Integer chipStatus;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "返售价格")
    private Integer returnMoney;

    @ApiModelProperty(value = "返售积分")
    private Integer returnScore;

    @ApiModelProperty(value = "抽中概率 (百分比)")
    private Double odds;

    @ApiModelProperty(value = "人民币原价")
    private Integer moneyPrice;

    @ApiModelProperty(value = "积分原价")
    private Integer scorePrice;

    @ApiModelProperty(value = "最后一次抽出的位置(在总次数中排序的数字)")
    private Integer lastSalesIndex;

    @ApiModelProperty(value = "奖品类型, 1为自定义实物，2为绑定商城商品 3为平台虚拟资产  4为无任何奖品  5为抽奖次数")
    private Integer skuType;

    @ApiModelProperty(value = "当sku_type为2时，绑定的虚拟资产")
    private String assets;

    @ApiModelProperty(value = "当sku_type为1时, 绑定的商品id")
    private Integer productId;

    @ApiModelProperty(value = "已开序号次数数组集合")
    private String openIndexs;

    @ApiModelProperty(value = "是否可返售，1为可返售")
    private Boolean isReturnSaleable;

    @ApiModelProperty(value = "人民币零售价")
    private Integer displayMoneyPrice;

    @ApiModelProperty(value = "积分零售价")
    private Integer displayScorePrice;

    @ApiModelProperty(value = "背景图")
    private String bgImage;

    @ApiModelProperty(value = "3D图")
    private String image3d;

    @ApiModelProperty(value = "详情图")
    private String detailImages;

    @ApiModelProperty(value = "物品等级")
    private Integer level;


}
